echo ----------------------------------------------------------- 
echo Read To Remove these dirty files and directorie
echo -----------------------------------------------------------
BASE_PATH=$(cd `dirname $0`;pwd)
cd $BASE_PATH
cd ..
git clean -nxfd --exclude=".vscode"
echo ----------------------------------------------------------- 
echo 1.  yes
echo 2.  no
loop=1
finish=100
while [ $loop -ne $finish ]
do
        read -p 'Input number to choose:' input
        case $input in
        1)echo 'clean'
		cd $BASE_PATH
		cd ..
		git clean -xfd --exclude=".vscode"
		loop=`expr $finish`
                ;;
        2)echo User cancel cleaning.
		loop=`expr $finish`
                ;;
        esac
done

echo -----------------------------------------------------------
echo Done
echo -----------------------------------------------------------


